package com.ningxun.pagent.bus.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ningxun.pagent.common.annotation.Excel;
import com.ningxun.pagent.common.core.domain.BaseEntity;

/**
 * 政策审核对象 bus_policy_approve
 * 
 * @author pagent
 * @date 2025-07-09
 */
@Data
public class BusPolicyApprove extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long approveId;

    /** 政策id */
    @Excel(name = "政策编号")
    private Long policyId;

    /** 审核员id */
    @Excel(name = "审核员编号")
    private Long approverId;

    /** 1通过 2驳回 */
    @Excel(name = "0通过 2驳回")
    private Long approveStatus;

    /** 审核备注 */
    @Excel(name = "审核内容")
    private String approveReview;

    /** 审核时间 */
    @Excel(name = "审核时间")
    private Date approveTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("approveId", getApproveId())
            .append("policyId", getPolicyId())
            .append("approverId", getApproverId())
            .append("approveStatus", getApproveStatus())
            .append("approveReview", getApproveReview())
            .append("approveTime", getApproveTime())
            .toString();
    }
}
